<?php

namespace Alipay\AlipayFund\Request;

use Alipay\AlipayFund\Response\AlipayFundTransPagePayResponse;
use Alipay\Common\RequestBase;

class AlipayFundTransPagePayRequest extends RequestBase
{
    protected $method = 'alipay.fund.trans.page.pay';

    protected $response = AlipayFundTransPagePayResponse::class;

    protected $getRequestUrl = true;

    /**
     * @var string $orderId
     */
    private $orderId;

    /**
     * 生成请求参数
     * @return array
     * @author xis
     */
    public function generate(): array
    {
        return [
            'order_id' => $this->orderId,
            'product_code' => 'BATCH_API_TO_ACC',
            'biz_scene' => 'MESSAGE_BATCH_PAY',
        ];
    }

    public function getOrderId(): string
    {
        return $this->orderId;

    }

    public function setOrderId($orderId): self
    {
        $this->orderId = $orderId;
        return $this;
    }
}